Skip to content

Conversation

@dh7
Copy link
Owner

@dh7 dh7 commented Jan 17, 2026

No description provided.

dh7 added 6 commits January 15, 2026 23:42
- Updated peer dependencies in `package.json` to require `ai` version 5.0.0 and added `@mindcache/gitstore` as a new optional peer dependency.
- Modified TypeScript configuration to use `react-jsx` for JSX transformation.
- Expanded exports in `index.ts` to include new local-first React components and hooks, enhancing the API surface for developers.
- Introduced `MindCacheChat` component for a ready-to-use chat interface, including customizable themes and message handling.
- Added context management with `MindCacheContext` to facilitate state sharing across components.
- Implemented `useClientChat` hook for managing chat interactions and real-time message streaming.
- Created `useLocalFirstSync` hook for automatic syncing with GitStore, providing a robust solution for local-first data management.
- Removed outdated `ai` dependency and updated to version 5.0.113 in `pnpm-lock.yaml` and `package.json`.
- Adjusted peer dependency for `ai` to require version 5.0.0.
- Updated `MindCacheContext` to include a new `streamText` function from the `ai` package, improving the API for AI model interactions.
- Refactored `useClientChat` to utilize the new `streamText` function directly, enhancing chat functionality and error logging.
- Added `@ai-sdk/openai` version 2.0.0 and `ai` version 5.0.0 to `pnpm-lock.yaml` and `package.json`.
- Removed outdated `ai` dependency from `local_first_chat` example.
- Refactored `MindCacheProvider` to support dynamic AI provider configuration, including a new `provider` and `model` properties.
- Updated `useClientChat` to utilize the new context-based model retrieval, simplifying API key management and enhancing error handling.
- Revised README to reflect changes in AI configuration and reduce setup code for users.
- Introduced a new "Local-First" section in `index.html` highlighting the benefits of using GitStore for client-side applications.
- Updated `styles.css` to include specific styles for the Local-First section.
- Enhanced `README.md` for the GitStore package with a quick start guide demonstrating basic usage for reading and writing files.
- Added detailed explanations and benefits of the Local-First approach in `index.html`.
- Updated `styles.css` to improve the visual presentation of the Local-First section.
- Revised `README.md` for the GitStore package to include a quick start guide for users.
- Added reminders to `AGENTS.md` specifying that examples use npm instead of pnpm.
- Included a note to check the CI pipeline and perform necessary steps before merging, such as npm login and publishing MindCache if relevant.
@vercel
Copy link

vercel bot commented Jan 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
mindcache Ready Ready Preview, Comment Jan 17, 2026 11:30am

@dh7 dh7 merged commit 248be9f into main Jan 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants